package com.atguigu.gmall.pms.vo;

import com.atguigu.gmall.pms.entity.SkuAttrValueEntity;
import com.atguigu.gmall.pms.entity.SkuEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class SkuVo extends SkuEntity {
    //sku的图片列表
    private List<String> images;

    // sku会员积分
    private BigDecimal growBounds;
    //sku购物1积分
    private BigDecimal buyBounds;
    private List<Integer> work;

    // sku满减优惠
    private BigDecimal fullPrice;
    private BigDecimal reducePrice;
    private Integer fullAddOther;

    //sku打折优惠
    private BigDecimal fullCount;
    private BigDecimal discount;
    private Integer ladderAddOther;

    //新增保存对应sku参数值表中的字段数据saleAttrs,销售属性值
    private List<SkuAttrValueEntity> saleAttrs;
}
